<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<c:set var="management"><c:out value="${sessionScope.sessionCurrentManagementTab}" default="Consumption"/></c:set>

<div id="menu">
	<ul>
		<c:choose>
			<c:when test="${management=='Consumption'}"><c:set var="current" value="current"/></c:when>
			<c:otherwise><c:set var="current" value=""/></c:otherwise>
		</c:choose>
		<li class="${current}"><a href="<c:url value="/default/Consumption/management.action"/>"><fmt:message key="pharma.management.tab.consumming"/></a></li>
		<c:choose>
			<c:when test="${management=='Transfer'}"><c:set var="current" value="current"/></c:when>
			<c:otherwise><c:set var="current" value=""/></c:otherwise>
		</c:choose>
		<li class="${current}"><a href="<c:url value="/default/Transfer/management.action"/>"><fmt:message key="pharma.management.tab.transfer"/></a></li>
		
		<c:choose>
			<c:when test="${management=='Rearmament'}"><c:set var="current" value="current"/></c:when>
			<c:otherwise><c:set var="current" value=""/></c:otherwise>
		</c:choose>
		<li class="${current}"><a href="<c:url value="/default/Rearmament/management.action"/>"><fmt:message key="pharma.management.tab.rearmament"/></a></li>
		<c:choose>
			<c:when test="${management=='Order'}"><c:set var="current" value="current"/></c:when>
			<c:otherwise><c:set var="current" value=""/></c:otherwise>
		</c:choose>
		<li class="${current}"><a href="<c:url value="/default/Order/management.action"/>"><fmt:message key="pharma.management.tab.order"/></a></li>
		<c:choose>
			<c:when test="${management=='Control'}"><c:set var="current" value="current"/></c:when>
			<c:otherwise><c:set var="current" value=""/></c:otherwise>
		</c:choose>
		<li class="${current}"><a href="<c:url value="/default/Control/management.action"/>"><fmt:message key="pharma.management.tab.control"/></a></li>
	</ul>
</div>